package hello.domain;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by Administrator on 2015/11/16.
 */
@Entity
@Table(name = "TUser")
public class User {

    @Id
    private String id;

    private String name;

    public User(String id, String name) {
        super();
        this.id=id;
        this.name=name;
    }

    public User(){}

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


}
